<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="/xbsc/">
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- Bootstrap CSS-->
		<link rel="stylesheet" href="static/vendor/bootstrap/css/bootstrap.css">
		<!-- Font Awesome CSS-->
		<link rel="stylesheet" href="static/vendor/font-awesome/css/font-awesome.min.css">
		<!-- Custom Font Icons CSS-->
		<link rel="stylesheet" href="static/css/font.css">
		<!-- theme stylesheet-->
		<link rel="stylesheet" href="static/css/style.default.css" id="theme-stylesheet">
		<!-- Custom stylesheet - for your changes-->
		<link rel="stylesheet" href="static/css/custom.css">
		<link rel="stylesheet" href="static/css/layer.css">
		<title>我的收藏</title>

	</head>
	<body>
		<div id="app">
			<header class="header">
				<nav class="navbar navbar-expand-lg">
					<div class="search-panel">
						<div class="search-inner d-flex align-items-center justify-content-center">
							<div class="close-btn">Close <i class="fa fa-close"></i></div>
							<form id="searchForm" action="#">
								<div class="form-group">
									<input type="search" name="search" placeholder="What are you searching for...">
									<button type="submit" class="submit">Search</button>
								</div>
							</form>
						</div>
					</div>
					<div class="container-fluid d-flex align-items-center justify-content-between">
						<div class="navbar-header">
							<!-- Navbar Header--><a href="home.html" class="navbar-brand">
							<div class="brand-text brand-big visible text-uppercase"><strong class="text-primary">小标</strong><strong>会议平台</strong></div>
							<div class="brand-text brand-sm"><strong class="text-primary">X</strong><strong>B</strong></div>
						</a>
							<!-- Sidebar Toggle Btn-->
							<button class="sidebar-toggle"><i class="fa fa-long-arrow-left"></i></button>
						</div>
						<div class="right-menu list-inline no-margin-bottom">
							<!-- Log out -->
							<div class="list-inline-item logout">
								<a id="logout" href="index.html" class="nav-link"><span class="d-none d-sm-inline">Logout </span></a>
							</div>
						</div>
					</div>
				</nav>
			</header>

			<div class="d-flex align-items-stretch">
				<!-- Sidebar Navigation-->
				<nav id="sidebar">


				</nav>
				<!-- Sidebar Navigation end-->
				<div class="page-content">
					<div class="page-header">
						<div class="container-fluid">
							<h2 class="h5 no-margin-bottom">我收藏的文章</h2>
						</div>
					</div>

					<section class="no-padding-bottom">

						<div class="list-group myList">
							<!--搜索文章的条件-->
							<div class="myTitle">
								<form class="form-inline">
									<div class="form-group">
										<label for="inlineFormInput" class="sr-only">Name</label>
										<input id="inlineFormInput" type="text"v-model="conditional.title"
											   placeholder="按标题名字查找" class="mr-sm-3 form-control">
									</div>
									<div class="form-group">
										<input type="button" value="查询" @click="selectPage()" class="btn btn-primary">
										<input type="button" style="margin-left: 20px" value="全部查询" @click="selectAll()" class="btn btn-primary">
									</div>
								</form>

								<!--<input id = "addArt" type="submit" value="发布文章" class="btn btn-primary">-->

							</div>

							<ul>
								<li class="list-group-item" v-for="article in pageInfo.list">
									<a href="javascript:void(0);" @click="collection(article)">{{article.title}}</a>
									<p class="h6"><strong>作者：</strong>{{article.publishRealName}}</p>
									<p class="h6"><strong>时间：</strong>{{article.publishDate}}</p>
									<p style="white-space:nowrap;overflow:hidden;text-overflow: ellipsis">
									{{article.content}}}
											</li>



							</ul>

							<nav class="text-center" aria-label="Page navigation">
								<ul class="pagination">

									<li v-if="pageInfo.hasPreviousPage" class="prev"><a href="javascript:void(0);"
																						@click="selectPage(pageInfo.prePage,pageInfo.pageSize)">&laquo;</a>
									<li v-else="" class="prev disabled"><a>&laquo;</a></li>

									<li  v-for="i in pageInfo.navigatepageNums"><a
											href="javascript:void(0);"
											@click="selectPage(i,pageInfo.pageSize)">{{i}}</a></li>

									<li v-if="pageInfo.hasNextPage" class="next "><a href="javascript:void(0);"
																					 @click="selectPage(pageInfo.nextPage,pageInfo.pageSize)">&raquo;</a>
									<li v-else="" class="next disabled"><a>&raquo;</a></li>
								</ul>
							</nav>
						</div>
					</section>

					<footer class="footer">
						<div class="footer__block block no-margin-bottom">
							<div class="container-fluid text-center">
								<p class="no-margin-bottom">Copyright &copy; 2019.Company <a href="#">东方标准</a></p>
							</div>
						</div>
					</footer>
				</div>
			</div>
		</div>
		<!-- JavaScript files-->
		<script src="static/vendor/jquery/jquery.min.js"></script>
		<script src="static/vendor/popper.js/umd/popper.min.js"></script>
		<script src="static/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="static/vendor/jquery.cookie/jquery.cookie.js"></script>
		<script src="static/vendor/chart.js/Chart.min.js"></script>
		<script src="static/vendor/jquery-validation/jquery.validate.min.js"></script>
<!--		<script src="static/js/charts-home.js"></script>-->
		<script src="static/js/front.js"></script>
		<script src="static/js/custom.js"></script>
		<script src="static/js/layer.js"></script>
		<script src="static/js/vue-2.6.11.js"></script>
		<script src="static/js/axios-0.19.2.min.js"></script>
		<script src="static/js/jquery-cookie-1.4.1.js"></script>
	</body>
</html>

<script>
	$(function () {
		$("#sidebar").load("main/sidebar")
	})

</script>
<script type="text/javascript" src="static/js/Article/articleCollect.js"></script>
